﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
using Sportsbook.MongoDbPersistence.JsonConverters;

namespace Sportsbook.MongoDbPersistence
{
    public class Document
    {
        [BsonId]
        [JsonConverter(typeof(ObjectIdConverter))]
        public ObjectId Id { get; set; }
    }
}


